package com.test;

public class FormatPojo implements Comparable<FormatPojo>{
	public String title = "";
	public String method = "";
	public String useTime = "";
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getUseTime() {
		return useTime;
	}
	public void setUseTime(String useTime) {
		this.useTime = useTime;
	}	
	
	public int compareTo(FormatPojo o) {
	    return Integer.parseInt(this.title.replace("]testName","").replace("[","")) - Integer.parseInt(o.getTitle().replace("]testName","").replace("[",""));
	}

}
